!!! 5
//if lt IE 7
	<html class="no-js lt-ie9 lt-ie8 lt-ie7">
//if IE 7
	<html class="no-js lt-ie9 lt-ie8">
//if IE 8
	<html class="no-js lt-ie9">
//[if gt IE 8]><!
html(class='no-js')
	//<![endif]
	head
		meta(http-equiv="X-UA-Compatible", content="IE=edge,chrome=1")
		meta(name="renderer", content="webkit")

		//-meta(name="apple-mobile-web-app-capable",content="yes")
		//-meta(name="apple-mobile-web-app-status-bar-style",content="black")

		title #{title}

		meta(name='description', content=description)
		meta(name='viewport', content='width=device-width,initial-scale=1.0')

		//- IE10 win8
		meta(name="application-name", content="广发金融超市")
		meta(name='msapplication-TileImage', content='logo_144.png')
		meta(name='msapplication-TileColor', content='#000088')

		//if lt IE 9
			if debug
				link(rel="stylesheet", href="https://store.gf.com.cn/portal/css/nav6_8.css?v=#{STATIC_VERSION}")
			else
				link(rel="stylesheet", href="/portal/css/nav6_8.css?v=#{STATIC_VERSION}")
			script var oldIE = 1;
		//[if gt IE 8]><!
		if debug
			link(rel="stylesheet", href="http://test.gf.com.cn/portal/css/nav.css?v=#{STATIC_VERSION}")
		else
			link(rel="stylesheet", href="/portal/css/nav.css?v=#{STATIC_VERSION}")
		//<![endif]
		if debug
			link(rel='stylesheet', href='stylesheets/style.css?v=#{STATIC_VERSION}')
			link(rel='stylesheet', href='stylesheets/im.css?v=#{STATIC_VERSION}')
		else
			link(rel='stylesheet', href='stylesheets/style.min.css?v=#{STATIC_VERSION}')
			link(rel='stylesheet', href='stylesheets/im.min.css?v=#{STATIC_VERSION}')

		script.
			window.STATIC_VERSION = #{STATIC_VERSION};
			window.JSON || document.write('<script src="javascripts/lib/json3.min.js"><\/script>')

		include ../libs/modernizr-2.6.2.min.js

		if debug
			script(src='https://store.gf.com.cn/portal/js/nav.min.js?v=#{STATIC_VERSION}')
			include ../loader.js
		else
			script(src='/portal/js/nav.min.js?v=#{STATIC_VERSION}')
			include ../loader.dist.js

	body(ng-controller='App.AppCtrl').ng-cloak
		//-预加载的模板
		//-script(type="text/ng-template", id="partials/home.html")
		//-	include partials/home

		//- 对话框
		include include/fund_account_dialog
		//- 客服聊天
		//-.imlink(title='在线客服', gf-kefulink='right')
		div(gf-kefu='{{session.display_name}}')

		//- 获取交易密码
		div(gf-pwd)

		block header		
		block content
		if !mobile
			block footer

		if !mobile
			//if lt IE 8
				iframe.hideiframe(src='about:blank', gf-his=1)

			//if IE 8
				script.
					document.body.refreshIframe = function(h) {
						setTimeout(function() {
							document.body.className = document.body.className;
						}, 50);
					}
